<template>
	<view style="position: relative;">
		<view class="item col">
			<view class="row-between-center">
				<view class="row">
					<image class="icon" src="/static/images/lucky.png"></image>
					<view class="col" style="margin-left: 20rpx;">
						<view class="title">
							这是商家名称
						</view>
						<view class="time">2023-08-12 12:24:48</view>
					</view>
				</view>

			</view>
			<view class="bottom" style="margin-top: 30rpx;padding: 20rpx;">
				<view class="row" style="margin-top: 20rpx;">
					<view class="key">反馈内容：</view>
					<view class="content">这是反馈的内容这是反馈的内容这是反馈的内容这是反馈的内容这是反馈的内容这是反馈</view>
				</view>
				<view class="row" style="margin-top: 20rpx;">
					<view class="key">反馈图片:</view>
					<image src="/static/images/lucky.png" class="imgs" v-for="item in 3"></image>
				</view>
			</view>
		</view>
		<view class="key">回复</view>
		<view class="item col">
			<view class="row-between-center">
				<view class="row">
					<image class="icon" src="/static/images/lucky.png"></image>
					<view class="col" style="margin-left: 20rpx;">
						<view class="title">
							张三
						</view>
						<view class="time">2023-08-12 12:24:48</view>
					</view>
				</view>

			</view>
			<view class="bottom" style="margin-top: 30rpx;padding: 20rpx;">
				<view class="row" style="margin-top: 20rpx;">
					<view class="key">回复内容：</view>
					<view class="content">这是反馈的内容这是反馈的内容这是反馈的内容这是反馈的内容这是反馈的内容这是反馈</view>
				</view>
				<view class="row" style="margin-top: 20rpx;">
					<view class="key">回复图片：</view>
					<image src="/static/images/lucky.png" class="imgs" v-for="item in 3"></image>
				</view>
			</view>
		</view>

		<view class="key">评价</view>
		<view class="item col">
			<view class="row">
				<view class="manyidu">服务满意度：</view>
				<u-rate :count="count" v-model="value"></u-rate>
			</view>
			<view class="manyidu" style="margin-top: 30rpx;">评价</view>
			<u--textarea v-model="desc" placeholder="请输入内容"  border="surround" style="margin-top: 10rpx;"
				></u--textarea>
			<view class="manyidu" style="margin-top: 30rpx;">图片</view>
			<u-upload
			style="margin-top: 20rpx;"
				:fileList="fileList1"
				@afterRead="afterRead"
				@delete="deletePic"
				name="1"
				multiple
				:maxCount="1"
			></u-upload>
		</view>
		<view style="height: 150rpx;"></view>
		<view class="bottoms">
			<view class="btn2 row-center" @click="goAdd">提交评价</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				count:5,
				value:2,
				desc:''
			}
		},
		methods: {
			goAdd() {
				uni.navigateTo({
					url: '/src/pages/user_my/add_feeback'
				})
			}
		}
	}
</script>
<style>
	page {
		background: #F2F3F8;
	}
</style>
<style scoped lang="scss">
	.manyidu {
		color: #6A6876;
		font-size: 28rpx;
		font-style: normal;
		font-weight: 400;
		line-height: 44rpx;
		/* 157.143% */
	}

	.key {
		margin: 20rpx;
		color: #1E2132;
		font-size: 28rpx;
		font-style: normal;
		font-weight: 700;
		line-height: 44rpx;
		/* 157.143% */
	}

	.bottoms {
		width: 100%;
		padding: 36rpx;
		background-color: white;
		bottom: 0;
		position: fixed;

		.btn2 {
			width: 100%;
			height: 80rpx;
			border-radius: 40rpx;
			background: #347FFF;
			color: #FFF;
			font-size: 32rpx;
			font-style: normal;
			font-weight: 500;
			line-height: 48rpx;
			/* 150% */
		}
	}

	.item {
		margin: 20rpx;
		padding: 30rpx 20rpx;
		border-radius: 12rpx;
		background: #FFF;
	}

	.icon {
		width: 84rpx;
		height: 84rpx;
	}

	.title {
		color: #20252B;
		font-size: 28rpx;
		font-style: normal;
		font-weight: 500;
		line-height: 44rpx;
		/* 157.143% */
	}

	.time {
		color: rgba(106, 104, 118, 0.45);
		font-size: 24rpx;
		font-style: normal;
		font-weight: 400;
		line-height: 40rpx;
		/* 166.667% */
	}

	.reply {
		width: 120rpx;
		height: 60rpx;
		border-radius: 30rpx;
		background-color: #ecf0fb;
		color: #3B60D3;
		font-size: 28rpx;
		font-style: normal;
		font-weight: 400;
		line-height: 44rpx;
		/* 157.143% */
	}

	.call {
		margin-left: 30rpx;
		background-color: #ecf0fb;
		border-radius: 50%;
		width: 60rpx;
		height: 60rpx;

		.call-icon {
			width: 24rpx;
			height: 24rpx;
		}
	}

	.key {
		white-space: nowrap;
		color: #6A6876;
		font-size: 24rpx;
		font-style: normal;
		font-weight: 400;
		line-height: 40rpx;
	}

	.bottom {
		background: #F7F8FC;
	}

	.content {
		color: #20252B;
		font-size: 24rpx;
		font-style: normal;
		font-weight: 400;
		line-height: 40rpx;
		/* 166.667% */
	}

	.imgs {
		margin: 10rpx;
		width: 160rpx;
		height: 160rpx;
	}
</style>